<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html >
<head>
    <meta charset="UTF-8">
    <title>HappyOJ</title>
    <link rel="stylesheet" th:href="@{/css/styles.css}" >
    <script th:src="@{/js/jquery-1.7.2.js}"></script>
    <script th:src="@{/js/gdoj.js}"></script>
</head>
<style>
    table.tb-dir {
        margin:auto;
        font-size: 12pt;
        font-family: 'Fira Code Retina','Fira Code','Fira Mono','JetBrains Mono','Source Code Pro','Consolas','Menlo','Monaco',monospace;
    }
    table.tb-dir TR {}
    table.tb-dir TR.header {border-bottom: 2px solid #ddd}
    table.tb-dir TR:hover {background-color: #F5F5F5 }
    table.tb-dir TH,TD {padding: 4px 8px;}
    .tb-dir-attr {
        width: 30px;
        text-align: left;
    }
    .tb-dir-size {
        width: 140px;
        text-align: right;
    }
    .tb-dir-space {
        width: 50px;
    }
    .tb-dir-date {
        width: 200px;
        text-align: left;
    }
    .tb-dir-name {
        width: 300px;
        text-align: left;
    }
    .tb-dir-name>a {
        color: #088acb;
    }

</style>
<body>
<div th:replace="common::web-navbar"></div>
<div class="container">
    <div class="content">
        <div class="content-no-sidebar">
            <div th:replace="admin/admin-common::admin-navbar"></div>
            <div class="roundbox">
                <div style="padding: 10px">
                    <H5> <a class="kernel-config"> Edit Kernel Config</a></H5>
                    <H5> <a class="show-oj-dir"> Show OJ directory</a></H5>
                    <H5> <a class="show-logs-dir"> Show Logs directory</a></H5>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    <div th:replace="common::web-footer"></div>
</div>

<!-- Pop div -->
<div class="pop-div-config"  id="pop-div-config"></div>
<div class="pop-inner-div-config" id="pop-inner-div-config">
    <div class="config-box">
        <div class="title">Kernel Config</div>
        <div class="config-content-box comment" style="position: relative;padding: 6px;">
            <div id="kernel-config" class="config-content"></div>
            <HR>
            <form action="" method="post" style="text-align:center;">
                <input class="button_submit" type="submit" th:value="save">
                <span class="fielderror"></span><span class="fieldsuccess"></span>
            </form>
        </div>
    </div>
</div>

<!-- Pop div -->
<div class="pop-div-dir"  id="pop-div-dir"></div>
<div class="pop-inner-div-dir" id="pop-inner-div-dir">
    <div class="config-box" >
        <div class="title dir-title"></div>
        <div class="show-content-box comment" style="position: relative;padding: 6px;overflow-y:scroll;">
            <div id="dir-show" class="dir-show config-content"></div>
        </div>
    </div>
</div>

<!-- Pop div -->
<div class="pop-div-show-oj-file"  id="pop-div-show-oj-file"></div>
<div class="pop-inner-div-show-oj-file" id="pop-inner-div-show-oj-file">
    <div class="config-box">
        <div class="title oj-file-title"></div>
        <div class="show-content-box comment" style="position: relative;padding: 6px;">
            <div id="oj-file-show" class="config-content"></div>
            <br>
            <div style="text-align:center;"><a class="pop-div-menu dir-show-menu"> Cancel auto to bottom</a></div>
        </div>
    </div>
</div>

<script th:src="@{/js/monaco-editor/min/vs/loader.js}"></script>
<script th:src="@{/js/config.js}"></script>
<script th:src="@{/js/oj-file.js}"></script>
</body>
</html>
